project(library_test)

include_directories("../")
#set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--stack,999999")
add_compile_options(-fstack-protector)

set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fstack-protector")
#set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--stack,999999")


add_executable(${PROJECT_NAME} main.cpp ../ImageProcessingLib.cpp)

target_link_libraries(${PROJECT_NAME} ImageProcessingLib)


add_test(NAME ${PROJECT_NAME}
        COMMAND ${PROJECT_NAME})

# link_libraries()
